Correct spelling in docs
authorAndrew Paseltiner <apaseltiner@gmail.com>
Tue, 20 Oct 2015 17:26:16 +0000 (13:26 -0400)
committerAndrew Paseltiner <apaseltiner@gmail.com>
Tue, 20 Oct 2015 17:26:16 +0000 (13:26 -0400)
src/cargo/core/manifest.rs
src/cargo/core/resolver/mod.rs
src/doc/build-script.md
src/doc/faq.md

index 7d99b7c794de7ac7493530728fc3ee46fbdf15ff..68f3d2d4c1d9036e5ae624b7cc0fee89470e668a 100644 (file)
@@ -10,7 +10,7 @@ use core::package_id::Metadata;
 use core::dependency::SerializedDependency;
 use util::{CargoResult, human};
 
-/// Contains all the informations about a package, as loaded from a Cargo.toml.
+/// Contains all the information about a package, as loaded from a Cargo.toml.
 #[derive(Clone, Debug)]
 pub struct Manifest {
     summary: Summary,
@@ -130,7 +130,7 @@ pub struct Profiles {
     pub custom_build: Profile,
 }
 
-/// Informations about a binary, a library, an example, etc. that is part of the
+/// Information about a binary, a library, an example, etc. that is part of the
 /// package.
 #[derive(Clone, Hash, PartialEq, Eq, Debug)]
 pub struct Target {
index bfade99626944f4451f6e6037caa6920d30a9ff5..465bc1a73d4a59a2abb04926cabafce8422035b4 100644 (file)
@@ -24,7 +24,7 @@
 //! * Never try to activate a crate version which is incompatible. This means we
 //!   only try crates which will actually satisfy a dependency and we won't ever
 //!   try to activate a crate that's semver compatible with something else
-//!   activatd (as we're only allowed to have one).
+//!   activated (as we're only allowed to have one).
 //! * Always try to activate the highest version crate first. The default
 //!   dependency in Cargo (e.g. when you write `foo = "0.1.2"`) is
 //!   semver-compatible, so selecting the highest version possible will allow us
index 7f1016d29a212728ffd9310e8284e4fc8b1dcd29..8874bf91260fd30f66b51a36edd51dd5dc0a0301 100644 (file)
@@ -304,7 +304,7 @@ fn main() {
 }
 ```
 
-This build script starts out by compiling out C file into an object file (by
+This build script starts out by compiling our C file into an object file (by
 invoking `gcc`) and then converting this object file into a static library (by
 invoking `ar`). The final step is feedback to Cargo itself to say that our
 output was in `out_dir` and the compiler should link the crate to `libhello.a`
index 1c6963ac2581c536e16100efbfaa5d1aed54973e..61e0e8d61fcd828cade46ad7408a711c6c839351 100644 (file)
@@ -135,7 +135,7 @@ wildcard dependency constraints.**
 
 While they _can_, strictly speaking, they should not. A version requirement
 of `*` says “This will work with every version ever,” which is never going
-to be true. Libraries should always specifiy the range that they do work with,
+to be true. Libraries should always specify the range that they do work with,
 even if it’s something as general as “every 1.x.y version.”
 
 # Why `Cargo.toml`?